package com.ruoyi.manage.mapper;

import com.ruoyi.manage.domain.DeviceSequence;

/**
 * 设备顺序编码Mapper接口
 * 
 * @author ruoyi
 */
public interface DeviceSequenceMapper
{
    /**
     * 获取当前顺序编码
     * 
     * @return 顺序编码对象
     */
    public DeviceSequence selectCurrentSequence();

    /**
     * 更新顺序编码
     * 
     * @param deviceSequence 顺序编码对象
     * @return 结果
     */
    public int updateSequence(DeviceSequence deviceSequence);

    /**
     * 初始化顺序编码表
     * 
     * @param deviceSequence 顺序编码对象
     * @return 结果
     */
    public int initSequence(DeviceSequence deviceSequence);
}